package com.hehua.BridagePatternThree;

public class Client {
    public static void main(String[] args) throws IllegalAccessException, InstantiationException {
        Database database;
        File file;
        database = MysqlDatabase.class.newInstance();
        file = Txt.class.newInstance();
        file.setDatabase(database);
        file.paseFile("小龙女");
    }
}
